package com.xiaoq.sites.repository;

import java.util.List;

import com.xiaoq.sites.entity.InfrastructureBaseEntity;

public interface IInfrastructureRepository {
	/**
	 * 根据景点id和基建类型查询基建
	 * @param sitesId
	 * @param infraType
	 * @return
	 */
	public List<InfrastructureBaseEntity> findInfraBySitesIdAndInfraType(String sitesId,Integer infraType);
	
	
	/**
	 * 插入一条基础设施
	 * @param infrastructureBase
	 * @return
	 */
	public boolean addSitesInfraType(InfrastructureBaseEntity infrastructureBase);
	
	
	public boolean deleteSitesInfraType(String infrastructId);
	
	
	public InfrastructureBaseEntity findInfraById(String id);

	public List findSitesInfraTypeByCityCode(String cityCode,Integer infraType);

}
